\hypertarget{classduye_1_1_str_helper}{\section{duye\-:\-:Str\-Helper Class Reference}
\label{classduye_1_1_str_helper}\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}}
}


string extend function  




{\ttfamily \#include $<$duye\-\_\-helper.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classduye_1_1_str_helper_a319c3d57cbe790390be3e9f7723f53d2}{void {\bfseries trim} (std\-::string \&in\-Str)}\label{classduye_1_1_str_helper_a319c3d57cbe790390be3e9f7723f53d2}

\item 
\hypertarget{classduye_1_1_str_helper_a4a0e5249e00fc510c838db968f677907}{void {\bfseries trim\-Enter} (std\-::string \&in\-Str)}\label{classduye_1_1_str_helper_a4a0e5249e00fc510c838db968f677907}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{classduye_1_1_str_helper_a223f22a9313dcf2f2be1102a8506c193}{strupr} (int8 $\ast$instr)
\begin{DoxyCompactList}\small\item\em convert char to uppercase  \mbox{[}in\mbox{]} instr \-: in string \end{DoxyCompactList}\item 
static bool \hyperlink{classduye_1_1_str_helper_af772dbc3204cfa015e4a74551d79f347}{strnupr} (const int8 $\ast$instr, int8 $\ast$outstr, const uint32 outsize)
\begin{DoxyCompactList}\small\item\em convert chars to uppercase  \mbox{[}in\mbox{]} instr \-: in string  \mbox{[}in\mbox{]} outstr \-: out string  \mbox{[}in\mbox{]} outsize \-: outstr buffer size \end{DoxyCompactList}\item 
static bool \hyperlink{classduye_1_1_str_helper_a51852b1efb29a25b3c774ed4133d8ee0}{strlwr} (int8 $\ast$instr)
\begin{DoxyCompactList}\small\item\em convert char to lowercase  \mbox{[}in\mbox{]} instr \-: in string \end{DoxyCompactList}\item 
static bool \hyperlink{classduye_1_1_str_helper_afdb7a1647362efd678c14453a5846101}{strlwr} (const int8 $\ast$instr, int8 $\ast$outstr, const uint32 outsize)
\begin{DoxyCompactList}\small\item\em convert chars to lowercase  \mbox{[}in\mbox{]} instr \-: in string  \mbox{[}in\mbox{]} outstr \-: out string  \mbox{[}in\mbox{]} outsize \-: outstr buffer size \end{DoxyCompactList}\item 
static std\-::string \hyperlink{classduye_1_1_str_helper_a540d9477dd3f873beb86df610f22024b}{to\-Str} (const bool flag)
\begin{DoxyCompactList}\small\item\em convert numerical value to string  \mbox{[}in\mbox{]} flag/integer \-: in numerical \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_str_helper_a6268a1ea910715cc81363145d071a1ae}{static std\-::string {\bfseries to\-Str} (const int16 integer)}\label{classduye_1_1_str_helper_a6268a1ea910715cc81363145d071a1ae}

\item 
\hypertarget{classduye_1_1_str_helper_a2a422fccf306c7b7da392db9debd3baa}{static std\-::string {\bfseries to\-Str} (const uint16 integer)}\label{classduye_1_1_str_helper_a2a422fccf306c7b7da392db9debd3baa}

\item 
\hypertarget{classduye_1_1_str_helper_ab0369ee904f99b17b433042766bdefd1}{static std\-::string {\bfseries to\-Str} (const int32 integer)}\label{classduye_1_1_str_helper_ab0369ee904f99b17b433042766bdefd1}

\item 
\hypertarget{classduye_1_1_str_helper_aaf5cd1cae3563343e54e42df69893355}{static std\-::string {\bfseries to\-Str} (const uint32 integer)}\label{classduye_1_1_str_helper_aaf5cd1cae3563343e54e42df69893355}

\item 
\hypertarget{classduye_1_1_str_helper_a9fbf118f0585dbf357d0ba0293ba7358}{static std\-::string {\bfseries to\-Str} (const int64 integer)}\label{classduye_1_1_str_helper_a9fbf118f0585dbf357d0ba0293ba7358}

\item 
\hypertarget{classduye_1_1_str_helper_a269e64b6ad4b46153537f7105a299b20}{static std\-::string {\bfseries to\-Str} (const uint64 integer)}\label{classduye_1_1_str_helper_a269e64b6ad4b46153537f7105a299b20}

\item 
\hypertarget{classduye_1_1_str_helper_a39acb082f91e1ebafd7196d4d2d270aa}{static std\-::string {\bfseries to\-Str} (const float fpn)}\label{classduye_1_1_str_helper_a39acb082f91e1ebafd7196d4d2d270aa}

\item 
\hypertarget{classduye_1_1_str_helper_af79e7d85f4dc254114eb81a192adca20}{static std\-::string {\bfseries to\-Str} (const double fpn)}\label{classduye_1_1_str_helper_af79e7d85f4dc254114eb81a192adca20}

\item 
static bool \hyperlink{classduye_1_1_str_helper_ad9ec25147a054a3dbea6095f0613e55e}{to\-Bool} (const uint8 $\ast$in\-Str)
\begin{DoxyCompactList}\small\item\em convert string to bool  \mbox{[}in\mbox{]} in\-Str \-: in string \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_str_helper_a5db981d0d74a51531680009d429c2723}{static bool {\bfseries to\-Bool} (const std\-::string \&in\-Str)}\label{classduye_1_1_str_helper_a5db981d0d74a51531680009d429c2723}

\item 
static int64 \hyperlink{classduye_1_1_str_helper_add23af9515b277bd5f7fa489869f18f8}{to\-Int} (const uint8 $\ast$in\-Str)
\begin{DoxyCompactList}\small\item\em convert string to integer  \mbox{[}in\mbox{]} in\-Str \-: in string \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_str_helper_ae1afad1e32c46f1d9ae544d259b630fe}{static int64 {\bfseries to\-Int} (const std\-::string \&in\-Str)}\label{classduye_1_1_str_helper_ae1afad1e32c46f1d9ae544d259b630fe}

\item 
static bool \hyperlink{classduye_1_1_str_helper_a9ca052c17fee1bfb4fdf7c909a2d8d81}{is\-Num} (const int8 ch)
\begin{DoxyCompactList}\small\item\em to detemine char whether is integer.  \mbox{[}in\mbox{]} ch \-: in char \end{DoxyCompactList}\item 
static bool \hyperlink{classduye_1_1_str_helper_ab8fd816dd6a6c498810d2d1e6ee3b9e5}{is\-Nums} (const int8 $\ast$chars)
\begin{DoxyCompactList}\small\item\em to detemine chars whether is integer.  \mbox{[}in\mbox{]} chars \-: in chars \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_str_helper_a805b3ac6db5c0d9228649e2dc5cbcc64}{static bool {\bfseries is\-Nums} (const std\-::string \&str)}\label{classduye_1_1_str_helper_a805b3ac6db5c0d9228649e2dc5cbcc64}

\item 
static bool \hyperlink{classduye_1_1_str_helper_aa532acd3e0b35b1e0bec485a9c806035}{is\-Ip\-Addr} (const std\-::string \&ip\-Addr)
\begin{DoxyCompactList}\small\item\em to detemine whether is ip address.  \mbox{[}in\mbox{]} ip\-Addr \-: in ip address \end{DoxyCompactList}\item 
static bool \hyperlink{classduye_1_1_str_helper_a8f5ad077ad83d4ee04e32c2986e982a8}{is\-Port} (const uint32 port)
\begin{DoxyCompactList}\small\item\em to detemine whether is port.  \mbox{[}in\mbox{]} port \-: port \end{DoxyCompactList}\item 
static bool \hyperlink{classduye_1_1_str_helper_a951f26ed2c1f0463fd905f524d99889e}{compare} (const int8 $\ast$first\-Str, const int8 $\ast$second\-Str, const bool ignore=false)
\begin{DoxyCompactList}\small\item\em compare string  \mbox{[}in\mbox{]} first\-Str \-: first string.  \mbox{[}in\mbox{]} second\-Str \-: second string.  \mbox{[}in\mbox{]} ignore \-: whether is ignore capital and lowercase, default case sensitive. \end{DoxyCompactList}\item 
static bool \hyperlink{classduye_1_1_str_helper_aa5d6cb96b376f3bef6a0e6bd24168d45}{compare} (const int8 $\ast$first\-Str, const int8 $\ast$second\-Str, const uint32 com\-Len, const bool ignore=false)
\begin{DoxyCompactList}\small\item\em compare string  \mbox{[}in\mbox{]} first\-Str \-: first string.  \mbox{[}in\mbox{]} second\-Str \-: second string.  \mbox{[}in\mbox{]} com\-Len \-: should compare length.  \mbox{[}in\mbox{]} ignore \-: ignore capital and lowercase. \end{DoxyCompactList}\item 
static bool \hyperlink{classduye_1_1_str_helper_afc68779d90a126cffab7b33880f352e8}{beg\-With} (const int8 $\ast$str, const int8 $\ast$sub\-Str, const bool ignore=false)
\begin{DoxyCompactList}\small\item\em compare string  \mbox{[}in\mbox{]} str \-: full string.  \mbox{[}in\mbox{]} sub\-Str \-: sub string.  \mbox{[}in\mbox{]} ignore \-: ignore capital and lowercase. \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_str_helper_a4b87620e5df9370a8218d2f1a82c92fc}{static bool {\bfseries end\-With} (const int8 $\ast$str, const int8 $\ast$sub\-Str, const bool ignore=false)}\label{classduye_1_1_str_helper_a4b87620e5df9370a8218d2f1a82c92fc}

\item 
\hypertarget{classduye_1_1_str_helper_a9a68c761ec13d06b2ef68515b480fe37}{static void \hyperlink{classduye_1_1_str_helper_a9a68c761ec13d06b2ef68515b480fe37}{split} (const std\-::string \&in\-Str, const int8 separator, std\-::vector$<$ std\-::string $>$ \&out\-Array)}\label{classduye_1_1_str_helper_a9a68c761ec13d06b2ef68515b480fe37}

\begin{DoxyCompactList}\small\item\em compare string  \mbox{[}in\mbox{]} in\-Str \-: full string.  \mbox{[}in\mbox{]} separator \-: cut off symbol  \mbox{[}in\mbox{]} out\-Array \-: output string array \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_str_helper_abbded6fdf82bcec845de9759de07758e}{static void {\bfseries split} (const std\-::string \&in\-Str, const std\-::string \&separator, std\-::vector$<$ std\-::string $>$ \&out\-Array)}\label{classduye_1_1_str_helper_abbded6fdf82bcec845de9759de07758e}

\item 
\hypertarget{classduye_1_1_str_helper_afcec221dac705fbd81caa4c0ee912293}{static void {\bfseries split} (const std\-::string \&in\-Str, const int8 separator, std\-::list$<$ std\-::string $>$ \&out\-Array)}\label{classduye_1_1_str_helper_afcec221dac705fbd81caa4c0ee912293}

\item 
\hypertarget{classduye_1_1_str_helper_a67584d770587861f5609f5ea40bde5b1}{static void {\bfseries split} (const std\-::string \&in\-Str, const std\-::string \&separator, std\-::list$<$ std\-::string $>$ \&out\-Array)}\label{classduye_1_1_str_helper_a67584d770587861f5609f5ea40bde5b1}

\item 
\hypertarget{classduye_1_1_str_helper_a3c9d22da4d5ecd75690a906ed9d4310d}{static void {\bfseries split} (const std\-::string \&in\-Str, const int8 separator, std\-::set$<$ std\-::string $>$ \&out\-Array)}\label{classduye_1_1_str_helper_a3c9d22da4d5ecd75690a906ed9d4310d}

\item 
\hypertarget{classduye_1_1_str_helper_a3579fa1a7f68c7d8ca190ef7b14f8a3f}{static void {\bfseries split} (const std\-::string \&in\-Str, const std\-::string \&separator, std\-::set$<$ std\-::string $>$ \&out\-Array)}\label{classduye_1_1_str_helper_a3579fa1a7f68c7d8ca190ef7b14f8a3f}

\item 
\hypertarget{classduye_1_1_str_helper_a46a1d999958bf3120703a0b54cdb7d47}{static bool \hyperlink{classduye_1_1_str_helper_a46a1d999958bf3120703a0b54cdb7d47}{get\-Line} (const std\-::string \&in\-Str, const int8 $\ast$sep\-Str, std\-::list$<$ std\-::string $>$ \&line\-List)}\label{classduye_1_1_str_helper_a46a1d999958bf3120703a0b54cdb7d47}

\begin{DoxyCompactList}\small\item\em get line.  \mbox{[}in\mbox{]} in\-Str \-: full string.  \mbox{[}in\mbox{]} sep\-Str \-: separator string.  \mbox{[}in\mbox{]} out\-Array \-: output string array. \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_str_helper_a0edd832d9c914b35b93659659596600a}{static bool {\bfseries get\-Line} (const std\-::string \&in\-Str, const int8 $\ast$sep\-Str, std\-::set$<$ std\-::string $>$ \&line\-Set)}\label{classduye_1_1_str_helper_a0edd832d9c914b35b93659659596600a}

\item 
static std\-::string \hyperlink{classduye_1_1_str_helper_ab24fc16e87d27b1f3dc8aa81dfa88e1d}{basename} (const std\-::string \&in\-File\-Path)
\begin{DoxyCompactList}\small\item\em get file path basename  \mbox{[}in\mbox{]} in\-File\-Path \-: file full path. \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_str_helper_affbfe7ab4602f8b4aa95c9c439d49e14}{static std\-::string {\bfseries basename} (const int8 $\ast$in\-File\-Path)}\label{classduye_1_1_str_helper_affbfe7ab4602f8b4aa95c9c439d49e14}

\item 
static std\-::string \hyperlink{classduye_1_1_str_helper_a9ed950fc31641d83a1119e795647d3f2}{filedir} (const std\-::string \&in\-File\-Path)
\begin{DoxyCompactList}\small\item\em get file directory  \mbox{[}in\mbox{]} in\-File\-Path \-: file full path. \end{DoxyCompactList}\item 
\hypertarget{classduye_1_1_str_helper_ac82eea83b33a671c831da38ee6de56e7}{static std\-::string {\bfseries filedir} (const int8 $\ast$in\-File\-Path)}\label{classduye_1_1_str_helper_ac82eea83b33a671c831da38ee6de56e7}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
string extend function 

\begin{DoxyNote}{Note}

\end{DoxyNote}


\subsection{Member Function Documentation}
\hypertarget{classduye_1_1_str_helper_ab24fc16e87d27b1f3dc8aa81dfa88e1d}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!basename@{basename}}
\index{basename@{basename}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{basename}]{\setlength{\rightskip}{0pt plus 5cm}static std\-::string duye\-::\-Str\-Helper\-::basename (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{in\-File\-Path}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_ab24fc16e87d27b1f3dc8aa81dfa88e1d}


get file path basename  \mbox{[}in\mbox{]} in\-File\-Path \-: file full path. 

\begin{DoxyReturn}{Returns}
\-: basename 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
/etc/test/tt.txt, basename is 'tt.\-txt' 
\end{DoxyNote}
\hypertarget{classduye_1_1_str_helper_afc68779d90a126cffab7b33880f352e8}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!beg\-With@{beg\-With}}
\index{beg\-With@{beg\-With}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{beg\-With}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Str\-Helper\-::beg\-With (
\begin{DoxyParamCaption}
\item[{const int8 $\ast$}]{str, }
\item[{const int8 $\ast$}]{sub\-Str, }
\item[{const bool}]{ignore = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_afc68779d90a126cffab7b33880f352e8}


compare string  \mbox{[}in\mbox{]} str \-: full string.  \mbox{[}in\mbox{]} sub\-Str \-: sub string.  \mbox{[}in\mbox{]} ignore \-: ignore capital and lowercase. 

\begin{DoxyReturn}{Returns}
\-: on found sub string, return true. else if return false. 
\end{DoxyReturn}
\hypertarget{classduye_1_1_str_helper_a951f26ed2c1f0463fd905f524d99889e}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!compare@{compare}}
\index{compare@{compare}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{compare}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Str\-Helper\-::compare (
\begin{DoxyParamCaption}
\item[{const int8 $\ast$}]{first\-Str, }
\item[{const int8 $\ast$}]{second\-Str, }
\item[{const bool}]{ignore = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_a951f26ed2c1f0463fd905f524d99889e}


compare string  \mbox{[}in\mbox{]} first\-Str \-: first string.  \mbox{[}in\mbox{]} second\-Str \-: second string.  \mbox{[}in\mbox{]} ignore \-: whether is ignore capital and lowercase, default case sensitive. 

\begin{DoxyReturn}{Returns}
\-: on full match, return true. else if return false. 
\end{DoxyReturn}
\hypertarget{classduye_1_1_str_helper_aa5d6cb96b376f3bef6a0e6bd24168d45}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!compare@{compare}}
\index{compare@{compare}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{compare}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Str\-Helper\-::compare (
\begin{DoxyParamCaption}
\item[{const int8 $\ast$}]{first\-Str, }
\item[{const int8 $\ast$}]{second\-Str, }
\item[{const uint32}]{com\-Len, }
\item[{const bool}]{ignore = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_aa5d6cb96b376f3bef6a0e6bd24168d45}


compare string  \mbox{[}in\mbox{]} first\-Str \-: first string.  \mbox{[}in\mbox{]} second\-Str \-: second string.  \mbox{[}in\mbox{]} com\-Len \-: should compare length.  \mbox{[}in\mbox{]} ignore \-: ignore capital and lowercase. 

\begin{DoxyReturn}{Returns}
\-: on full match, return true. else if return false. 
\end{DoxyReturn}
\hypertarget{classduye_1_1_str_helper_a9ed950fc31641d83a1119e795647d3f2}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!filedir@{filedir}}
\index{filedir@{filedir}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{filedir}]{\setlength{\rightskip}{0pt plus 5cm}static std\-::string duye\-::\-Str\-Helper\-::filedir (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{in\-File\-Path}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_a9ed950fc31641d83a1119e795647d3f2}


get file directory  \mbox{[}in\mbox{]} in\-File\-Path \-: file full path. 

\begin{DoxyReturn}{Returns}
\-: file directory 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
/etc/test/tt.txt, file directory is '/etc/test' 
\end{DoxyNote}
\hypertarget{classduye_1_1_str_helper_aa532acd3e0b35b1e0bec485a9c806035}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!is\-Ip\-Addr@{is\-Ip\-Addr}}
\index{is\-Ip\-Addr@{is\-Ip\-Addr}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{is\-Ip\-Addr}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Str\-Helper\-::is\-Ip\-Addr (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{ip\-Addr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_aa532acd3e0b35b1e0bec485a9c806035}


to detemine whether is ip address.  \mbox{[}in\mbox{]} ip\-Addr \-: in ip address 

\begin{DoxyReturn}{Returns}
\-: true/false 
\end{DoxyReturn}
\hypertarget{classduye_1_1_str_helper_a9ca052c17fee1bfb4fdf7c909a2d8d81}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!is\-Num@{is\-Num}}
\index{is\-Num@{is\-Num}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{is\-Num}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Str\-Helper\-::is\-Num (
\begin{DoxyParamCaption}
\item[{const int8}]{ch}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_a9ca052c17fee1bfb4fdf7c909a2d8d81}


to detemine char whether is integer.  \mbox{[}in\mbox{]} ch \-: in char 

\begin{DoxyReturn}{Returns}
\-: true/false 
\end{DoxyReturn}
\hypertarget{classduye_1_1_str_helper_ab8fd816dd6a6c498810d2d1e6ee3b9e5}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!is\-Nums@{is\-Nums}}
\index{is\-Nums@{is\-Nums}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{is\-Nums}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Str\-Helper\-::is\-Nums (
\begin{DoxyParamCaption}
\item[{const int8 $\ast$}]{chars}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_ab8fd816dd6a6c498810d2d1e6ee3b9e5}


to detemine chars whether is integer.  \mbox{[}in\mbox{]} chars \-: in chars 

\begin{DoxyReturn}{Returns}
\-: true/false 
\end{DoxyReturn}
\hypertarget{classduye_1_1_str_helper_a8f5ad077ad83d4ee04e32c2986e982a8}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!is\-Port@{is\-Port}}
\index{is\-Port@{is\-Port}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{is\-Port}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Str\-Helper\-::is\-Port (
\begin{DoxyParamCaption}
\item[{const uint32}]{port}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_a8f5ad077ad83d4ee04e32c2986e982a8}


to detemine whether is port.  \mbox{[}in\mbox{]} port \-: port 

\begin{DoxyReturn}{Returns}
\-: true/false 
\end{DoxyReturn}
\hypertarget{classduye_1_1_str_helper_a51852b1efb29a25b3c774ed4133d8ee0}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!strlwr@{strlwr}}
\index{strlwr@{strlwr}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{strlwr}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Str\-Helper\-::strlwr (
\begin{DoxyParamCaption}
\item[{int8 $\ast$}]{instr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_a51852b1efb29a25b3c774ed4133d8ee0}


convert char to lowercase  \mbox{[}in\mbox{]} instr \-: in string 

\begin{DoxyReturn}{Returns}
\-: true/false 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
\-: no copy, modify original data 
\end{DoxyNote}
\hypertarget{classduye_1_1_str_helper_afdb7a1647362efd678c14453a5846101}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!strlwr@{strlwr}}
\index{strlwr@{strlwr}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{strlwr}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Str\-Helper\-::strlwr (
\begin{DoxyParamCaption}
\item[{const int8 $\ast$}]{instr, }
\item[{int8 $\ast$}]{outstr, }
\item[{const uint32}]{outsize}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_afdb7a1647362efd678c14453a5846101}


convert chars to lowercase  \mbox{[}in\mbox{]} instr \-: in string  \mbox{[}in\mbox{]} outstr \-: out string  \mbox{[}in\mbox{]} outsize \-: outstr buffer size 

\begin{DoxyReturn}{Returns}
\-: true/false 
\end{DoxyReturn}
\hypertarget{classduye_1_1_str_helper_af772dbc3204cfa015e4a74551d79f347}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!strnupr@{strnupr}}
\index{strnupr@{strnupr}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{strnupr}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Str\-Helper\-::strnupr (
\begin{DoxyParamCaption}
\item[{const int8 $\ast$}]{instr, }
\item[{int8 $\ast$}]{outstr, }
\item[{const uint32}]{outsize}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_af772dbc3204cfa015e4a74551d79f347}


convert chars to uppercase  \mbox{[}in\mbox{]} instr \-: in string  \mbox{[}in\mbox{]} outstr \-: out string  \mbox{[}in\mbox{]} outsize \-: outstr buffer size 

\begin{DoxyReturn}{Returns}
\-: true/false 
\end{DoxyReturn}
\hypertarget{classduye_1_1_str_helper_a223f22a9313dcf2f2be1102a8506c193}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!strupr@{strupr}}
\index{strupr@{strupr}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{strupr}]{\setlength{\rightskip}{0pt plus 5cm}static void duye\-::\-Str\-Helper\-::strupr (
\begin{DoxyParamCaption}
\item[{int8 $\ast$}]{instr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_a223f22a9313dcf2f2be1102a8506c193}


convert char to uppercase  \mbox{[}in\mbox{]} instr \-: in string 

\begin{DoxyNote}{Note}
\-: no copy, modify original data 
\end{DoxyNote}
\hypertarget{classduye_1_1_str_helper_ad9ec25147a054a3dbea6095f0613e55e}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!to\-Bool@{to\-Bool}}
\index{to\-Bool@{to\-Bool}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{to\-Bool}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Str\-Helper\-::to\-Bool (
\begin{DoxyParamCaption}
\item[{const uint8 $\ast$}]{in\-Str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_ad9ec25147a054a3dbea6095f0613e55e}


convert string to bool  \mbox{[}in\mbox{]} in\-Str \-: in string 

\begin{DoxyReturn}{Returns}
\-: true/false 
\end{DoxyReturn}
\hypertarget{classduye_1_1_str_helper_add23af9515b277bd5f7fa489869f18f8}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!to\-Int@{to\-Int}}
\index{to\-Int@{to\-Int}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{to\-Int}]{\setlength{\rightskip}{0pt plus 5cm}static int64 duye\-::\-Str\-Helper\-::to\-Int (
\begin{DoxyParamCaption}
\item[{const uint8 $\ast$}]{in\-Str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_add23af9515b277bd5f7fa489869f18f8}


convert string to integer  \mbox{[}in\mbox{]} in\-Str \-: in string 

\begin{DoxyReturn}{Returns}
\-: true/false 
\end{DoxyReturn}
\hypertarget{classduye_1_1_str_helper_a540d9477dd3f873beb86df610f22024b}{\index{duye\-::\-Str\-Helper@{duye\-::\-Str\-Helper}!to\-Str@{to\-Str}}
\index{to\-Str@{to\-Str}!duye::StrHelper@{duye\-::\-Str\-Helper}}
\subsubsection[{to\-Str}]{\setlength{\rightskip}{0pt plus 5cm}static std\-::string duye\-::\-Str\-Helper\-::to\-Str (
\begin{DoxyParamCaption}
\item[{const bool}]{flag}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_str_helper_a540d9477dd3f873beb86df610f22024b}


convert numerical value to string  \mbox{[}in\mbox{]} flag/integer \-: in numerical 

\begin{DoxyReturn}{Returns}
\-: string 
\end{DoxyReturn}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Z\-:/duye/src/duyebase/public/\hyperlink{duye__helper_8h}{duye\-\_\-helper.\-h}\end{DoxyCompactItemize}
